#ifndef COLOR_H
#define COLOR_H

#include <QDialog>
#include "highlight.h"

QT_BEGIN_NAMESPACE
namespace Ui { class Color; }
QT_END_NAMESPACE

class Color : public QDialog
{
    Q_OBJECT

public:
    Color(QWidget *parent = nullptr);
    ~Color();
public slots:
    void setLabel();
    void setTable();
    void setTitle();
    void setQuote();
    void setList();
    void setOlist();
    void setLink();
    void setimg();
    void setem();
    void setStrong();
    void setCode();
    void save();
    void reload();

private:
    highlight* high;
    std::string table,labelColor,labelFamily,Title,Quote,List,Olist,Link,img,em,strong,codeColor,codeFamily;
    Ui::Color *ui;
};
#endif // COLOR_H
